/*
 * @(#)PropertyMessageResourcesFactory.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.framework;

import org.apache.struts.util.MessageResources;

/**
 * @author Ryan Kwan
 *
 * 
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class PropertyMessageResourcesFactory extends org.apache.struts.util.PropertyMessageResourcesFactory{

  public static final String REVISION = "$Revision: 1.2.32.1 $";

    /**
     * Create and return a newly instansiated <code>MessageResources</code>.
     * This method must be implemented by concrete subclasses.
     *
     * @param config Configuration parameter(s) for the requested bundle
     */
    public MessageResources createResources(String config) {
        
        return new com.dcivision.framework.PropertyMessageResources(this, config, this.returnNull);

    }
}
